//package com.mayikt;
//
//
//
//import java.util.concurrent.ExecutorService;
//import java.util.concurrent.Executors;
//
///**
// * @ClassName Test038
// * @Author 蚂蚁课堂余胜军 QQ644064779 www.mayikt.com
// * @Version V1.0
// **/
//public class Test038 {
//    private static final int COUNT_BITS = Integer.SIZE - 3;
//    private static final int RUNNING = -1 << COUNT_BITS;
//
//    public static void main(String[] args) {
//        System.out.println(RUNNING);
////        ExecutorService executorService = Executors.newFixedThreadPool(2);
////        executorService.execute(() -> {
////            System.out.println("mayikt");
////        });
//        ExecutorService executorService =
//                MyThreadPoolExecutor.newFixedThreadPool(10, 15, 5);
//        // 核心线程10 最大线程数2 10 11 12 12个线程2 11+2  11+2
//
//        // 10+2 +3
//        for (int i = 1; i <= 21; i++) {
//            int finalI = i;
//            executorService.execute(() -> {
//                try {
//                    Thread.sleep(50);
//                    System.out.println(Thread.currentThread().getName() + ","
//                            + finalI);
//                } catch (Exception e) {
//
//                }
//            });
//        }
//
//    }
//}
